//
//  UITextField+Msg.h
//  CarService
//
//  Created by sixarm on 2018/4/18.
//  Copyright © 2018年 sixarm. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *  监听删除按钮
 *  object:UITextField
 */
extern NSString * const JSTextFieldDidDeleteBackwardNotification;

@protocol JSTextFieldDelegate <UITextFieldDelegate>

@optional

- (void)textFieldDidDeleteBackward:(UITextField *)textField;

@end

@interface UITextField (Msg)

@property (nonatomic , weak) id <JSTextFieldDelegate> delegate;

/** 设置 textfield 前端缩进距离 **/

+ (void) wj_setTextFieldLeftPadding:(UITextField *)textField forWidth:(CGFloat)leftWidth;

@end
